package com.wyl.clinic.entity;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 预约挂号单
 * </p>
 *
 * @author wangyulong
 * @since 2024-02-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Appointment对象", description="预约挂号单")
public class Appointment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "患者id")
    private Integer patientId;

    @ApiModelProperty(value = "医生id")
    private Integer doctorId;

    @ApiModelProperty(value = "医生排班id")
    private Integer doctorWorkId;

    @ApiModelProperty(value = "既往病史")
    private String history;

    @ApiModelProperty(value = "预约时间")
    private LocalDate appointmentDate;

    @ApiModelProperty(value = "描述")
    private String information;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
